package com.example.mq.common.payloads;

import com.example.mq.server.messagemanager.BasicProperties;

import java.io.Serializable;

public class PayloadResponseSubscribe extends PayloadResponse implements Serializable {
//    private String consumerTag;
    private BasicProperties basicProperties;
    private byte[] body;

//    public String getConsumerTag() {
//        return consumerTag;
//    }
//
//    public void setConsumerTag(String consumerTag) {
//        this.consumerTag = consumerTag;
//    }

    public BasicProperties getBasicProperties() {
        return basicProperties;
    }

    public void setBasicProperties(BasicProperties basicProperties) {
        this.basicProperties = basicProperties;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}
